<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.16"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>JCSDK Java API Reference for Android: com.juphoon.cloud.JCMediaDevice Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">JCSDK Java API Reference for Android
   &#160;<span id="projectnumber">2.3.3</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.16 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><b>com</b></li><li class="navelem"><b>juphoon</b></li><li class="navelem"><b>cloud</b></li><li class="navelem"><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_device.html">JCMediaDevice</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="#pub-static-attribs">Static Public Attributes</a> &#124;
<a href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_device-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">com.juphoon.cloud.JCMediaDevice Class Reference<span class="mlabels"><span class="mlabel">abstract</span></span><div class="ingroups"><a class="el" href="group___xE8_xAE_xBE_xE5_xA4_x87_xE6_xA8_xA1_xE5_x9D_x97.html">设备模块</a></div></div>  </div>
</div><!--header-->
<div class="contents">

<p>Inherited by com.juphoon.cloud.JCMediaDeviceImpl.</p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_device_1_1_j_c_media_device_audio_param.html">JCMediaDeviceAudioParam</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_device_1_1_j_c_media_device_camera.html">JCMediaDeviceCamera</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:aca69570135f6e2d983794b437d4b7b4b"><td class="memItemLeft" align="right" valign="top">abstract boolean&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_device.html#aca69570135f6e2d983794b437d4b7b4b">isCameraOpen</a> ()</td></tr>
<tr class="separator:aca69570135f6e2d983794b437d4b7b4b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0922f59b37870f25861b78fbe72f3c02"><td class="memItemLeft" align="right" valign="top">abstract boolean&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_device.html#a0922f59b37870f25861b78fbe72f3c02">isSpeakerOn</a> ()</td></tr>
<tr class="separator:a0922f59b37870f25861b78fbe72f3c02"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a364a8db444d8e267a3c261c371bc54fc"><td class="memItemLeft" align="right" valign="top">abstract <a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_device_1_1_j_c_media_device_camera.html">JCMediaDeviceCamera</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_device.html#a364a8db444d8e267a3c261c371bc54fc">getCamera</a> ()</td></tr>
<tr class="separator:a364a8db444d8e267a3c261c371bc54fc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a86a6f96e2d32c3b2058395a72883f765"><td class="memItemLeft" align="right" valign="top">abstract List&lt; <a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_device_1_1_j_c_media_device_camera.html">JCMediaDeviceCamera</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_device.html#a86a6f96e2d32c3b2058395a72883f765">getCameras</a> ()</td></tr>
<tr class="separator:a86a6f96e2d32c3b2058395a72883f765"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4c2bfbf3c089bcbb2f0ded6e7eb825d6"><td class="memItemLeft" align="right" valign="top">abstract <a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_device_video_canvas.html">JCMediaDeviceVideoCanvas</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_device.html#a4c2bfbf3c089bcbb2f0ded6e7eb825d6">startCameraVideo</a> (@RenderType int renderType)</td></tr>
<tr class="separator:a4c2bfbf3c089bcbb2f0ded6e7eb825d6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ade176f00edb42e33280a1cbf676a9711"><td class="memItemLeft" align="right" valign="top">abstract <a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_device_video_canvas.html">JCMediaDeviceVideoCanvas</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_device.html#ade176f00edb42e33280a1cbf676a9711">startVideo</a> (String videoSource, @RenderType int renderType)</td></tr>
<tr class="separator:ade176f00edb42e33280a1cbf676a9711"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a559b5d7aa44004ad51e0c347f7626909"><td class="memItemLeft" align="right" valign="top">abstract void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_device.html#a559b5d7aa44004ad51e0c347f7626909">stopVideo</a> (@NonNull <a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_device_video_canvas.html">JCMediaDeviceVideoCanvas</a> canvas)</td></tr>
<tr class="separator:a559b5d7aa44004ad51e0c347f7626909"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac90d6b4be17b00f75fea098a724d0e79"><td class="memItemLeft" align="right" valign="top">abstract boolean&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_device.html#ac90d6b4be17b00f75fea098a724d0e79">isAudioStart</a> ()</td></tr>
<tr class="separator:ac90d6b4be17b00f75fea098a724d0e79"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeed4180a139e0edfbe0f863e2f7732ba"><td class="memItemLeft" align="right" valign="top">abstract boolean&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_device.html#aeed4180a139e0edfbe0f863e2f7732ba">startAudio</a> ()</td></tr>
<tr class="separator:aeed4180a139e0edfbe0f863e2f7732ba"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a17a76db85f30b9c626ce6f47346afe4a"><td class="memItemLeft" align="right" valign="top">abstract boolean&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_device.html#a17a76db85f30b9c626ce6f47346afe4a">stopAudio</a> ()</td></tr>
<tr class="separator:a17a76db85f30b9c626ce6f47346afe4a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af813173c47ba5b29d211055a4bbae373"><td class="memItemLeft" align="right" valign="top">abstract boolean&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_device.html#af813173c47ba5b29d211055a4bbae373">startCamera</a> ()</td></tr>
<tr class="separator:af813173c47ba5b29d211055a4bbae373"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abe5008eb8df6e96da8768ca3f3a6375f"><td class="memItemLeft" align="right" valign="top">abstract boolean&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_device.html#abe5008eb8df6e96da8768ca3f3a6375f">stopCamera</a> ()</td></tr>
<tr class="separator:abe5008eb8df6e96da8768ca3f3a6375f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae3b326d8c27277b9585a3c30261f0cdd"><td class="memItemLeft" align="right" valign="top">abstract boolean&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_device.html#ae3b326d8c27277b9585a3c30261f0cdd">switchCamera</a> ()</td></tr>
<tr class="separator:ae3b326d8c27277b9585a3c30261f0cdd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afa8014e225de94e664524e242aea874a"><td class="memItemLeft" align="right" valign="top">abstract boolean&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_device.html#afa8014e225de94e664524e242aea874a">switchCamera</a> (<a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_device_1_1_j_c_media_device_camera.html">JCMediaDeviceCamera</a> camera)</td></tr>
<tr class="separator:afa8014e225de94e664524e242aea874a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a624652da47592d62ee0e5cd78f44da5d"><td class="memItemLeft" align="right" valign="top">abstract void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_device.html#a624652da47592d62ee0e5cd78f44da5d">setCameraProperty</a> (int width, int height, int frameRate)</td></tr>
<tr class="separator:a624652da47592d62ee0e5cd78f44da5d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a32122b568bcec8c43d73e978af552bb2"><td class="memItemLeft" align="right" valign="top">abstract void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_device.html#a32122b568bcec8c43d73e978af552bb2">setScreenCaptureProperty</a> (int width, int height, int frameRate)</td></tr>
<tr class="separator:a32122b568bcec8c43d73e978af552bb2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac5f57524e04e90717906335448d6ec38"><td class="memItemLeft" align="right" valign="top">abstract int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_device.html#ac5f57524e04e90717906335448d6ec38">getCameraType</a> (int cameraIndex)</td></tr>
<tr class="separator:ac5f57524e04e90717906335448d6ec38"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a658f0984fe833bb94e32fb8dde4ba514"><td class="memItemLeft" align="right" valign="top">abstract void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_device.html#a658f0984fe833bb94e32fb8dde4ba514">enableSpeaker</a> (boolean enable)</td></tr>
<tr class="separator:a658f0984fe833bb94e32fb8dde4ba514"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a85b6f05b1aae9c82be0755057222911c"><td class="memItemLeft" align="right" valign="top">abstract boolean&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_device.html#a85b6f05b1aae9c82be0755057222911c">isVideoFileOpen</a> ()</td></tr>
<tr class="separator:a85b6f05b1aae9c82be0755057222911c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a537459a89752968e857665147567c149"><td class="memItemLeft" align="right" valign="top">abstract String&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_device.html#a537459a89752968e857665147567c149">getVideoFileId</a> ()</td></tr>
<tr class="separator:a537459a89752968e857665147567c149"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a18e9ff72e541e04598ee5eb88608da18"><td class="memItemLeft" align="right" valign="top">abstract boolean&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_device.html#a18e9ff72e541e04598ee5eb88608da18">startVideoFile</a> ()</td></tr>
<tr class="separator:a18e9ff72e541e04598ee5eb88608da18"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a842314f714ab2c20994069af48909e0e"><td class="memItemLeft" align="right" valign="top">abstract void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_device.html#a842314f714ab2c20994069af48909e0e">setVideoFileFrame</a> (byte[] data, @VideoPixelFormat int format, int width, int height, int angle, int mirror, boolean keyFrame)</td></tr>
<tr class="separator:a842314f714ab2c20994069af48909e0e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab207e92a4cfd48ad009930e579024629"><td class="memItemLeft" align="right" valign="top">abstract boolean&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_device.html#ab207e92a4cfd48ad009930e579024629">stopVideoFile</a> ()</td></tr>
<tr class="separator:ab207e92a4cfd48ad009930e579024629"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9d601d607fbf27f44b53708696587d9f"><td class="memItemLeft" align="right" valign="top">abstract int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_device.html#a9d601d607fbf27f44b53708696587d9f">getAudioRouteType</a> ()</td></tr>
<tr class="separator:a9d601d607fbf27f44b53708696587d9f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a508da59a475ec6cbc9ce196ea2a32a93"><td class="memItemLeft" align="right" valign="top">abstract void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_device.html#a508da59a475ec6cbc9ce196ea2a32a93">setVideoAngle</a> (@VideoAngle int angle)</td></tr>
<tr class="separator:a508da59a475ec6cbc9ce196ea2a32a93"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9d3d6cdbcda87c083909bdead4ca3483"><td class="memItemLeft" align="right" valign="top">abstract int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_device.html#a9d3d6cdbcda87c083909bdead4ca3483">getVideoAngle</a> ()</td></tr>
<tr class="separator:a9d3d6cdbcda87c083909bdead4ca3483"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:aedb95a1069976d111da0c715535287eb"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_device.html">JCMediaDevice</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_device.html#aedb95a1069976d111da0c715535287eb">create</a> (<a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_client.html">JCClient</a> client, <a class="el" href="interfacecom_1_1juphoon_1_1cloud_1_1_j_c_media_device_callback.html">JCMediaDeviceCallback</a> callback)</td></tr>
<tr class="separator:aedb95a1069976d111da0c715535287eb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4bc101745ce305aba24bb9fefb13342d"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_device.html#a4bc101745ce305aba24bb9fefb13342d">destroy</a> ()</td></tr>
<tr class="separator:a4bc101745ce305aba24bb9fefb13342d"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:a2b5e50e505acad4a9838aa7e029ac17e"><td class="memItemLeft" align="right" valign="top">boolean&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_device.html#a2b5e50e505acad4a9838aa7e029ac17e">defaultSpeakerOn</a> = false</td></tr>
<tr class="separator:a2b5e50e505acad4a9838aa7e029ac17e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a46e3b94fd5309899d9a6fa90f118b9f6"><td class="memItemLeft" align="right" valign="top">boolean&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_device.html#a46e3b94fd5309899d9a6fa90f118b9f6">useInternalAudioDeviceLogic</a> = true</td></tr>
<tr class="separator:a46e3b94fd5309899d9a6fa90f118b9f6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:affb00c48b190eab884a92738fb0aa9f1"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_device_1_1_j_c_media_device_camera.html">JCMediaDeviceCamera</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_device.html#affb00c48b190eab884a92738fb0aa9f1">defaultCamera</a></td></tr>
<tr class="separator:affb00c48b190eab884a92738fb0aa9f1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9badec23f4735dda034a48eab56d7e74"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_device_1_1_j_c_media_device_audio_param.html">JCMediaDeviceAudioParam</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_device.html#a9badec23f4735dda034a48eab56d7e74">audioParam</a></td></tr>
<tr class="separator:a9badec23f4735dda034a48eab56d7e74"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-attribs"></a>
Static Public Attributes</h2></td></tr>
<tr class="memitem:a3626ace71157477ebd867a42ff01ff2f"><td class="memItemLeft" align="right" valign="top">static final int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_device.html#a3626ace71157477ebd867a42ff01ff2f">RENDER_FULL_SCREEN</a> = 0</td></tr>
<tr class="separator:a3626ace71157477ebd867a42ff01ff2f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a046b75fd5562dfc74be8d4fa17df392e"><td class="memItemLeft" align="right" valign="top">static final int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_device.html#a046b75fd5562dfc74be8d4fa17df392e">RENDER_FULL_CONTENT</a> = 1</td></tr>
<tr class="separator:a046b75fd5562dfc74be8d4fa17df392e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9ee7eb3ea258943a47705f88d3f6ef0a"><td class="memItemLeft" align="right" valign="top">static final int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_device.html#a9ee7eb3ea258943a47705f88d3f6ef0a">RENDER_FULL_AUTO</a> = 2</td></tr>
<tr class="separator:a9ee7eb3ea258943a47705f88d3f6ef0a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae79308ccc56296d3142f21140d56e62f"><td class="memItemLeft" align="right" valign="top">static final int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_device.html#ae79308ccc56296d3142f21140d56e62f">CAMERA_NONE</a> = 0</td></tr>
<tr class="separator:ae79308ccc56296d3142f21140d56e62f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2592b55463d0986aeea263144a21cb96"><td class="memItemLeft" align="right" valign="top">static final int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_device.html#a2592b55463d0986aeea263144a21cb96">CAMERA_FRONT</a> = 1</td></tr>
<tr class="separator:a2592b55463d0986aeea263144a21cb96"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5ea593365fa93c2ef627c1663da86431"><td class="memItemLeft" align="right" valign="top">static final int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_device.html#a5ea593365fa93c2ef627c1663da86431">CAMERA_BACK</a> = 2</td></tr>
<tr class="separator:a5ea593365fa93c2ef627c1663da86431"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a91ba9bf618c33edd744d499bb0fc3eba"><td class="memItemLeft" align="right" valign="top">static final int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_device.html#a91ba9bf618c33edd744d499bb0fc3eba">CAMERA_UNKNOWN</a> = 3</td></tr>
<tr class="separator:a91ba9bf618c33edd744d499bb0fc3eba"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aadb69b958966e4f5f17633ab8e6ef06e"><td class="memItemLeft" align="right" valign="top">static final int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_device.html#aadb69b958966e4f5f17633ab8e6ef06e">I420</a> = 1</td></tr>
<tr class="separator:aadb69b958966e4f5f17633ab8e6ef06e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a280248a57c166c84c979fbea41d9be78"><td class="memItemLeft" align="right" valign="top">static final int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_device.html#a280248a57c166c84c979fbea41d9be78">IYUV</a> = 2</td></tr>
<tr class="separator:a280248a57c166c84c979fbea41d9be78"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a497ed434de1faa4179192b947ddddceb"><td class="memItemLeft" align="right" valign="top">static final int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_device.html#a497ed434de1faa4179192b947ddddceb">RGB24</a> = 3</td></tr>
<tr class="separator:a497ed434de1faa4179192b947ddddceb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4975ff1193c5577bb9dafd2719070094"><td class="memItemLeft" align="right" valign="top">static final int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_device.html#a4975ff1193c5577bb9dafd2719070094">ABGR</a> = 4</td></tr>
<tr class="separator:a4975ff1193c5577bb9dafd2719070094"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2c6211f77d0f029cb302584dd6d8393d"><td class="memItemLeft" align="right" valign="top">static final int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_device.html#a2c6211f77d0f029cb302584dd6d8393d">ARGB</a> = 5</td></tr>
<tr class="separator:a2c6211f77d0f029cb302584dd6d8393d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4b2e127de7677ee961611a171bed1f97"><td class="memItemLeft" align="right" valign="top">static final int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_device.html#a4b2e127de7677ee961611a171bed1f97">ARGB444</a> = 6</td></tr>
<tr class="separator:a4b2e127de7677ee961611a171bed1f97"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a49850f1ffea75e7bca801fa2a9b222b6"><td class="memItemLeft" align="right" valign="top">static final int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_device.html#a49850f1ffea75e7bca801fa2a9b222b6">RGB565</a> = 7</td></tr>
<tr class="separator:a49850f1ffea75e7bca801fa2a9b222b6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8aa6ca90bf119d2979a67fa1ab9c0bf8"><td class="memItemLeft" align="right" valign="top">static final int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_device.html#a8aa6ca90bf119d2979a67fa1ab9c0bf8">ARGB1555</a> = 8</td></tr>
<tr class="separator:a8aa6ca90bf119d2979a67fa1ab9c0bf8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac3c1eb076f9ca423b3bbfbde50b8b7d4"><td class="memItemLeft" align="right" valign="top">static final int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_device.html#ac3c1eb076f9ca423b3bbfbde50b8b7d4">YUY2</a> = 9</td></tr>
<tr class="separator:ac3c1eb076f9ca423b3bbfbde50b8b7d4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1a5058fea2882ad1a0f544c9f3a5663e"><td class="memItemLeft" align="right" valign="top">static final int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_device.html#a1a5058fea2882ad1a0f544c9f3a5663e">YV12</a> = 10</td></tr>
<tr class="separator:a1a5058fea2882ad1a0f544c9f3a5663e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac8b7c69cf2983dbd9924edb0ef2480fb"><td class="memItemLeft" align="right" valign="top">static final int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_device.html#ac8b7c69cf2983dbd9924edb0ef2480fb">UYVY</a> = 11</td></tr>
<tr class="separator:ac8b7c69cf2983dbd9924edb0ef2480fb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aafbc2925cccb145235be01a4f95c5735"><td class="memItemLeft" align="right" valign="top">static final int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_device.html#aafbc2925cccb145235be01a4f95c5735">MJPG</a> = 12</td></tr>
<tr class="separator:aafbc2925cccb145235be01a4f95c5735"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abfca02eaeed2a7292a87760d7deca7c7"><td class="memItemLeft" align="right" valign="top">static final int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_device.html#abfca02eaeed2a7292a87760d7deca7c7">NV21</a> = 13</td></tr>
<tr class="separator:abfca02eaeed2a7292a87760d7deca7c7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab41851333dfc9291ee93da3d35957d45"><td class="memItemLeft" align="right" valign="top">static final int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_device.html#ab41851333dfc9291ee93da3d35957d45">NV12</a> = 14</td></tr>
<tr class="separator:ab41851333dfc9291ee93da3d35957d45"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aef9e1f59d1f992d2c58c4523b93bb08a"><td class="memItemLeft" align="right" valign="top">static final int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_device.html#aef9e1f59d1f992d2c58c4523b93bb08a">BGRA</a> = 15</td></tr>
<tr class="separator:aef9e1f59d1f992d2c58c4523b93bb08a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a44be959153f262a5dd7d5418e4d58e22"><td class="memItemLeft" align="right" valign="top">static final int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_device.html#a44be959153f262a5dd7d5418e4d58e22">H264</a> = 100</td></tr>
<tr class="separator:a44be959153f262a5dd7d5418e4d58e22"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a763cb60150c77a797d1c3ce612713bdb"><td class="memItemLeft" align="right" valign="top">static final int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_device.html#a763cb60150c77a797d1c3ce612713bdb">AUDIO_ROUTE_RECEIVER</a> = 0</td></tr>
<tr class="separator:a763cb60150c77a797d1c3ce612713bdb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a17ad73df4c178014ce6ba8802d1dc271"><td class="memItemLeft" align="right" valign="top">static final int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_device.html#a17ad73df4c178014ce6ba8802d1dc271">AUDIO_ROUTE_SPEAKER</a> = 1</td></tr>
<tr class="separator:a17ad73df4c178014ce6ba8802d1dc271"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa2e01a0a7f6bf9bdcd03c65055f2f12f"><td class="memItemLeft" align="right" valign="top">static final int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_device.html#aa2e01a0a7f6bf9bdcd03c65055f2f12f">AUDIO_ROUTE_HEADSET</a> = 2</td></tr>
<tr class="separator:aa2e01a0a7f6bf9bdcd03c65055f2f12f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:affb00118603747d8e49a8d77f0995e26"><td class="memItemLeft" align="right" valign="top">static final int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_device.html#affb00118603747d8e49a8d77f0995e26">AUDIO_ROUTE_BLUETOOTH</a> = 3</td></tr>
<tr class="separator:affb00118603747d8e49a8d77f0995e26"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0ae059edde68cc8873e4efd56930798e"><td class="memItemLeft" align="right" valign="top">static final int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_device.html#a0ae059edde68cc8873e4efd56930798e">VIDEO_ANGLE_AUTO</a> = -1</td></tr>
<tr class="separator:a0ae059edde68cc8873e4efd56930798e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad12454b23f7071a68ece5fa30814c13d"><td class="memItemLeft" align="right" valign="top">static final int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_device.html#ad12454b23f7071a68ece5fa30814c13d">VIDEO_ANGLE_0</a> = 0</td></tr>
<tr class="separator:ad12454b23f7071a68ece5fa30814c13d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae0c0cdaa344a821775243aa1e0e4f249"><td class="memItemLeft" align="right" valign="top">static final int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_device.html#ae0c0cdaa344a821775243aa1e0e4f249">VIDEO_ANGLE_90</a> = 90</td></tr>
<tr class="separator:ae0c0cdaa344a821775243aa1e0e4f249"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab9e204c04d96ead23a966372fd08cabb"><td class="memItemLeft" align="right" valign="top">static final int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_device.html#ab9e204c04d96ead23a966372fd08cabb">VIDEO_ANGLE_180</a> = 180</td></tr>
<tr class="separator:ab9e204c04d96ead23a966372fd08cabb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a08d72e5681e050a4c35f928e8a88e265"><td class="memItemLeft" align="right" valign="top">static final int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_device.html#a08d72e5681e050a4c35f928e8a88e265">VIDEO_ANGLE_270</a> = 270</td></tr>
<tr class="separator:a08d72e5681e050a4c35f928e8a88e265"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>用于管理设备 </p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a id="aedb95a1069976d111da0c715535287eb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aedb95a1069976d111da0c715535287eb">&#9670;&nbsp;</a></span>create()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_device.html">JCMediaDevice</a> com.juphoon.cloud.JCMediaDevice.create </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_client.html">JCClient</a>&#160;</td>
          <td class="paramname"><em>client</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="interfacecom_1_1juphoon_1_1cloud_1_1_j_c_media_device_callback.html">JCMediaDeviceCallback</a>&#160;</td>
          <td class="paramname"><em>callback</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>创建 <a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_device.html">JCMediaDevice</a> 对象</p>
<p><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_device.html">JCMediaDevice</a> 的所有接口函数，如无特殊说明，都建议在主线程调用</p>
<dl class="section note"><dt>Note</dt><dd><ul>
<li>调用此方法创建 <a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_device.html">JCMediaDevice</a> 对象后，期间没有调用过 <a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_device.html#a4bc101745ce305aba24bb9fefb13342d">destroy</a> 方法销毁对象，然后又重复调用此方法，会直接返回第一次创建的 <a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_device.html">JCMediaDevice</a> 对象</li>
<li>调用此方法前确保 <a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_client.html">JCClient</a> 已完成初始化，即 <a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_client.html#a9662a6f13921508ebefa58b0d684f6cd">getState</a> 方法获取的状态值不等于 <a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_client.html#a9265e400dcb439ba508abd30174c380d">STATE_NOT_INIT</a></li>
</ul>
</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">client</td><td><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_client.html">JCClient</a> 对象 </td></tr>
    <tr><td class="paramname">callback</td><td><a class="el" href="interfacecom_1_1juphoon_1_1cloud_1_1_j_c_media_device_callback.html">JCMediaDeviceCallback</a> 对象，用于回调相关通知 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_device.html">JCMediaDevice</a> 对象 </dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">JCClient、JCMediaDeviceCallback 任意一个参数传空就会出现调用异常</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a4bc101745ce305aba24bb9fefb13342d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4bc101745ce305aba24bb9fefb13342d">&#9670;&nbsp;</a></span>destroy()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void com.juphoon.cloud.JCMediaDevice.destroy </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>销毁 <a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_device.html">JCMediaDevice</a> 对象</p>
<dl class="section note"><dt>Note</dt><dd>此方法为异步调用，所以在调用此方法后不能马上调用 <a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_device.html#aedb95a1069976d111da0c715535287eb">create</a> 方法去重新创建 <a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_device.html">JCMediaDevice</a> 对象 </dd></dl>

</div>
</div>
<a id="aca69570135f6e2d983794b437d4b7b4b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aca69570135f6e2d983794b437d4b7b4b">&#9670;&nbsp;</a></span>isCameraOpen()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">abstract boolean com.juphoon.cloud.JCMediaDevice.isCameraOpen </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">abstract</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>摄像头是否已打开</p>
<dl class="section return"><dt>Returns</dt><dd>摄像头是否已打开<ul>
<li>true: 已打开</li>
<li>false: 未打开 </li>
</ul>
</dd></dl>

</div>
</div>
<a id="a0922f59b37870f25861b78fbe72f3c02"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0922f59b37870f25861b78fbe72f3c02">&#9670;&nbsp;</a></span>isSpeakerOn()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">abstract boolean com.juphoon.cloud.JCMediaDevice.isSpeakerOn </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">abstract</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>扬声器是否已打开</p>
<dl class="section return"><dt>Returns</dt><dd>扬声器是否已打开<ul>
<li>true: 已打开</li>
<li>false: 未打开 </li>
</ul>
</dd></dl>

</div>
</div>
<a id="a364a8db444d8e267a3c261c371bc54fc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a364a8db444d8e267a3c261c371bc54fc">&#9670;&nbsp;</a></span>getCamera()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">abstract <a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_device_1_1_j_c_media_device_camera.html">JCMediaDeviceCamera</a> com.juphoon.cloud.JCMediaDevice.getCamera </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">abstract</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>获取当前的摄像头</p>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_device_1_1_j_c_media_device_camera.html">JCMediaDeviceCamera</a> 对象，当前摄像头 </dd></dl>

</div>
</div>
<a id="a86a6f96e2d32c3b2058395a72883f765"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a86a6f96e2d32c3b2058395a72883f765">&#9670;&nbsp;</a></span>getCameras()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">abstract List&lt;<a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_device_1_1_j_c_media_device_camera.html">JCMediaDeviceCamera</a>&gt; com.juphoon.cloud.JCMediaDevice.getCameras </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">abstract</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>获取摄像头列表</p>
<dl class="section return"><dt>Returns</dt><dd>摄像头列表 </dd></dl>

</div>
</div>
<a id="a4c2bfbf3c089bcbb2f0ded6e7eb825d6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4c2bfbf3c089bcbb2f0ded6e7eb825d6">&#9670;&nbsp;</a></span>startCameraVideo()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">abstract <a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_device_video_canvas.html">JCMediaDeviceVideoCanvas</a> com.juphoon.cloud.JCMediaDevice.startCameraVideo </td>
          <td>(</td>
          <td class="paramtype">@RenderType int&#160;</td>
          <td class="paramname"><em>renderType</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">abstract</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>开始自身视频渲染</p>
<p>获取本端视频预览对象 <a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_device_video_canvas.html">JCMediaDeviceVideoCanvas</a> ，通过此对象能获得视图用于UI显示</p>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000001">Deprecated:</a></b></dt><dd>从 JCSDK-2.3.1-202009101 版本开始弃用，一对一通话建议使用 <a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_call_item.html#afb2265fd39484ca12aabfb9d92734eeb">startSelfVideo</a> 方法代替，频道建议使用 <a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_channel_participant.html#a480b17312c656ec7bd0e95ab9f0f8a81">startVideo</a> 方法代替</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">renderType</td><td>渲染模式：<ul>
<li><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_device.html#a3626ace71157477ebd867a42ff01ff2f">RENDER_FULL_SCREEN</a> : 铺满窗口</li>
<li><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_device.html#a046b75fd5562dfc74be8d4fa17df392e">RENDER_FULL_CONTENT</a> : 全图像显示，会有黑边</li>
<li><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_device.html#a9ee7eb3ea258943a47705f88d3f6ef0a">RENDER_FULL_AUTO</a> : 自适应 </li>
</ul>
</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_device_video_canvas.html">JCMediaDeviceVideoCanvas</a> 对象：开始自身视频渲染成功</li>
<li>null：开始自身视频渲染失败 </li>
</ul>
</dd></dl>

</div>
</div>
<a id="ade176f00edb42e33280a1cbf676a9711"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ade176f00edb42e33280a1cbf676a9711">&#9670;&nbsp;</a></span>startVideo()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">abstract <a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_device_video_canvas.html">JCMediaDeviceVideoCanvas</a> com.juphoon.cloud.JCMediaDevice.startVideo </td>
          <td>(</td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>videoSource</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">@RenderType int&#160;</td>
          <td class="paramname"><em>renderType</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">abstract</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>开始其他端的视频渲染</p>
<p>获取其他端的视频预览对象 <a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_device_video_canvas.html">JCMediaDeviceVideoCanvas</a> ，通过此对象能获得视图用于UI显示</p>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000002">Deprecated:</a></b></dt><dd>从 JCSDK-2.3.1-202009101 版本开始弃用，一对一通话建议使用 <a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_call_item.html#a0952beb5dcd44319ae3ceab7d81e4c35">startOtherVideo</a> 方法代替，频道建议使用 <a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_channel_participant.html#a480b17312c656ec7bd0e95ab9f0f8a81">startVideo</a> 方法代替</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">videoSource</td><td>渲染标识串，通过 <a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_channel_participant.html">JCMediaChannelParticipant</a> 的 <a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_channel_participant.html#a73dab21552da0b4899a6a09bb1037613">getRenderId</a> 方法和 <a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_call_item.html">JCCallItem</a> 的 <a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_call_item.html#a1a59a0fb8796e9109a491e20b4fda996">getRenderId</a> 方法可以得到 </td></tr>
    <tr><td class="paramname">renderType</td><td>渲染模式：<ul>
<li><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_device.html#a3626ace71157477ebd867a42ff01ff2f">RENDER_FULL_SCREEN</a> : 铺满窗口</li>
<li><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_device.html#a046b75fd5562dfc74be8d4fa17df392e">RENDER_FULL_CONTENT</a> : 全图像显示，会有黑边</li>
<li><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_device.html#a9ee7eb3ea258943a47705f88d3f6ef0a">RENDER_FULL_AUTO</a> : 自适应 </li>
</ul>
</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_device_video_canvas.html">JCMediaDeviceVideoCanvas</a> 对象 </dd></dl>

</div>
</div>
<a id="a559b5d7aa44004ad51e0c347f7626909"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a559b5d7aa44004ad51e0c347f7626909">&#9670;&nbsp;</a></span>stopVideo()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">abstract void com.juphoon.cloud.JCMediaDevice.stopVideo </td>
          <td>(</td>
          <td class="paramtype">@NonNull <a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_device_video_canvas.html">JCMediaDeviceVideoCanvas</a>&#160;</td>
          <td class="paramname"><em>canvas</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">abstract</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>停止视频渲染</p>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000003">Deprecated:</a></b></dt><dd>从 JCSDK-2.3.1-202009101 版本开始弃用，一对一通话建议使用 <a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_call_item.html#aaa76ffa17402ee21a9afe59f153e0dc4">stopSelfVideo</a> 和 <a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_call_item.html#a925ff573c70fbd98bac204c5b5995f44">stopOtherVideo</a> 方法代替，频道建议使用 <a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_channel_participant.html#aa19b6396f9c3c599939ebdd086ad9334">stopVideo</a> 方法代替</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">canvas</td><td><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_device_video_canvas.html">JCMediaDeviceVideoCanvas</a> 对象，由 <a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_device.html#ade176f00edb42e33280a1cbf676a9711">startVideo</a> 和 <a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_device.html#a4c2bfbf3c089bcbb2f0ded6e7eb825d6">startCameraVideo</a> 返回 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ac90d6b4be17b00f75fea098a724d0e79"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac90d6b4be17b00f75fea098a724d0e79">&#9670;&nbsp;</a></span>isAudioStart()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">abstract boolean com.juphoon.cloud.JCMediaDevice.isAudioStart </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">abstract</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>音频是否已打开</p>
<dl class="section return"><dt>Returns</dt><dd>音频是否已打开<ul>
<li>true: 已打开</li>
<li>false: 未打开 </li>
</ul>
</dd></dl>

</div>
</div>
<a id="aeed4180a139e0edfbe0f863e2f7732ba"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aeed4180a139e0edfbe0f863e2f7732ba">&#9670;&nbsp;</a></span>startAudio()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">abstract boolean com.juphoon.cloud.JCMediaDevice.startAudio </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">abstract</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>启动音频</p>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000004">Deprecated:</a></b></dt><dd>从 JCSDK-2.3.1-202009101 版本开始弃用，在通话连接中或者加入频道成功时，内部会自动调用此方法来启动音频</dd></dl>
<dl class="section return"><dt>Returns</dt><dd>调用是否成功<ul>
<li>true：正常执行调用流程</li>
<li>false：调用失败 </li>
</ul>
</dd></dl>

</div>
</div>
<a id="a17a76db85f30b9c626ce6f47346afe4a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a17a76db85f30b9c626ce6f47346afe4a">&#9670;&nbsp;</a></span>stopAudio()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">abstract boolean com.juphoon.cloud.JCMediaDevice.stopAudio </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">abstract</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>停止音频</p>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000005">Deprecated:</a></b></dt><dd>从 JCSDK-2.3.1-202009101 版本开始弃用，在通话挂断时或者离开频道时，内部会自动调用此方法来停止音频</dd></dl>
<dl class="section return"><dt>Returns</dt><dd>调用是否成功<ul>
<li>true：正常执行调用流程</li>
<li>false：调用失败 </li>
</ul>
</dd></dl>

</div>
</div>
<a id="af813173c47ba5b29d211055a4bbae373"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af813173c47ba5b29d211055a4bbae373">&#9670;&nbsp;</a></span>startCamera()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">abstract boolean com.juphoon.cloud.JCMediaDevice.startCamera </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">abstract</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>开启摄像头</p>
<dl class="section return"><dt>Returns</dt><dd>调用是否成功<ul>
<li>true：正常执行调用流程，存在以下两种场景：<ul>
<li>若调用此方法前摄像头已打开，不会收到通知</li>
<li>若调用此方法前摄像头未打开，会收到 <a class="el" href="interfacecom_1_1juphoon_1_1cloud_1_1_j_c_media_device_callback.html#a320c02b007d3ff85f4092ff3f4f17ff9">onCameraUpdate</a> 通知</li>
</ul>
</li>
<li>false：调用失败，不会收到通知 </li>
</ul>
</dd></dl>

</div>
</div>
<a id="abe5008eb8df6e96da8768ca3f3a6375f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abe5008eb8df6e96da8768ca3f3a6375f">&#9670;&nbsp;</a></span>stopCamera()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">abstract boolean com.juphoon.cloud.JCMediaDevice.stopCamera </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">abstract</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>关闭摄像头</p>
<dl class="section return"><dt>Returns</dt><dd>调用是否成功<ul>
<li>true：正常执行调用流程，存在以下两种场景：<ul>
<li>若调用此方法前摄像头已打开，会收到 <a class="el" href="interfacecom_1_1juphoon_1_1cloud_1_1_j_c_media_device_callback.html#a320c02b007d3ff85f4092ff3f4f17ff9">onCameraUpdate</a> 通知</li>
<li>若调用此方法前摄像头未打开，不会收到通知</li>
</ul>
</li>
<li>false：调用失败 </li>
</ul>
</dd></dl>

</div>
</div>
<a id="ae3b326d8c27277b9585a3c30261f0cdd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae3b326d8c27277b9585a3c30261f0cdd">&#9670;&nbsp;</a></span>switchCamera() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">abstract boolean com.juphoon.cloud.JCMediaDevice.switchCamera </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">abstract</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>切换摄像头</p>
<p>内部会根据当前摄像头类型来进行切换 <br  />
</p><ul>
<li>调用此方法时要保证摄像头已打开，否则将直接返回 false</li>
<li>设备拥有两个以上摄像头，否则将直接返回 true</li>
<li>满足以上两个条件后，内部会调用 <a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_device.html#afa8014e225de94e664524e242aea874a">switchCamera(JCMediaDeviceCamera)</a> 方法并提供返回值</li>
</ul>
<dl class="section return"><dt>Returns</dt><dd>调用是否成功<ul>
<li>true：正常执行调用流程</li>
<li>false：调用失败 </li>
</ul>
</dd></dl>

</div>
</div>
<a id="afa8014e225de94e664524e242aea874a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afa8014e225de94e664524e242aea874a">&#9670;&nbsp;</a></span>switchCamera() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">abstract boolean com.juphoon.cloud.JCMediaDevice.switchCamera </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_device_1_1_j_c_media_device_camera.html">JCMediaDeviceCamera</a>&#160;</td>
          <td class="paramname"><em>camera</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">abstract</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>切换摄像头</p>
<p>调用此方法时需要保证摄像头已打开并且摄像头数大于0，否则将直接返回 false</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">camera</td><td>摄像头 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>调用是否成功<ul>
<li>true：正常执行调用流程<ul>
<li>摄像头个数为1，不会收到回调</li>
<li>摄像头个数大于1，会收到 <a class="el" href="interfacecom_1_1juphoon_1_1cloud_1_1_j_c_media_device_callback.html#a320c02b007d3ff85f4092ff3f4f17ff9">onCameraUpdate</a> 通知</li>
</ul>
</li>
<li>false：调用失败，不会收到回调 </li>
</ul>
</dd></dl>

</div>
</div>
<a id="a624652da47592d62ee0e5cd78f44da5d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a624652da47592d62ee0e5cd78f44da5d">&#9670;&nbsp;</a></span>setCameraProperty()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">abstract void com.juphoon.cloud.JCMediaDevice.setCameraProperty </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>width</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>height</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>frameRate</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">abstract</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>设置摄像头采集属性</p>
<p>在调用 <a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_call_item.html#afb2265fd39484ca12aabfb9d92734eeb">startSelfVideo</a> 方法或 <a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_channel_participant.html#a480b17312c656ec7bd0e95ab9f0f8a81">startVideo</a> 方法开启自身视频渲染前设置即可生效</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">width</td><td>采集宽度，默认640 </td></tr>
    <tr><td class="paramname">height</td><td>采集高度，默认360 </td></tr>
    <tr><td class="paramname">frameRate</td><td>采集帧速率，默认24 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a32122b568bcec8c43d73e978af552bb2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a32122b568bcec8c43d73e978af552bb2">&#9670;&nbsp;</a></span>setScreenCaptureProperty()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">abstract void com.juphoon.cloud.JCMediaDevice.setScreenCaptureProperty </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>width</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>height</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>frameRate</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">abstract</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>设置屏幕共享采集属性</p>
<p>在调用 <a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_channel.html#aa36f56fea2dd9f4b158892b91f1d35e3">enableScreenShare</a> 方法开启屏幕共享前设置即可生效</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">width</td><td>采集宽度，默认1280 </td></tr>
    <tr><td class="paramname">height</td><td>采集高度，默认720 </td></tr>
    <tr><td class="paramname">frameRate</td><td>采集帧速率，默认10 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ac5f57524e04e90717906335448d6ec38"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac5f57524e04e90717906335448d6ec38">&#9670;&nbsp;</a></span>getCameraType()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">abstract int com.juphoon.cloud.JCMediaDevice.getCameraType </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>cameraIndex</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">abstract</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>获得摄像头类型</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">cameraIndex</td><td>摄像头队列索引 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>摄像头类型：<ul>
<li><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_device.html#ae79308ccc56296d3142f21140d56e62f">CAMERA_NONE</a> : 未获取到摄像头</li>
<li><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_device.html#a2592b55463d0986aeea263144a21cb96">CAMERA_FRONT</a> : 前置摄像头</li>
<li><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_device.html#a5ea593365fa93c2ef627c1663da86431">CAMERA_BACK</a> : 后置摄像头</li>
<li><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_device.html#a91ba9bf618c33edd744d499bb0fc3eba">CAMERA_UNKNOWN</a> : 未知摄像头 </li>
</ul>
</dd></dl>

</div>
</div>
<a id="a658f0984fe833bb94e32fb8dde4ba514"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a658f0984fe833bb94e32fb8dde4ba514">&#9670;&nbsp;</a></span>enableSpeaker()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">abstract void com.juphoon.cloud.JCMediaDevice.enableSpeaker </td>
          <td>(</td>
          <td class="paramtype">boolean&#160;</td>
          <td class="paramname"><em>enable</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">abstract</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>开启/关闭扬声器</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">enable</td><td>开启或者关闭扬声器<ul>
<li>true: 开启</li>
<li>false: 关闭 </li>
</ul>
</td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a85b6f05b1aae9c82be0755057222911c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a85b6f05b1aae9c82be0755057222911c">&#9670;&nbsp;</a></span>isVideoFileOpen()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">abstract boolean com.juphoon.cloud.JCMediaDevice.isVideoFileOpen </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">abstract</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>文件视频源是否已开启</p>
<dl class="section return"><dt>Returns</dt><dd>文件视频源是否已开启<ul>
<li>true: 已开启</li>
<li>false: 未开启 </li>
</ul>
</dd></dl>

</div>
</div>
<a id="a537459a89752968e857665147567c149"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a537459a89752968e857665147567c149">&#9670;&nbsp;</a></span>getVideoFileId()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">abstract String com.juphoon.cloud.JCMediaDevice.getVideoFileId </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">abstract</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>获取文件视频源渲染id</p>
<dl class="section return"><dt>Returns</dt><dd>文件视频源渲染id </dd></dl>

</div>
</div>
<a id="a18e9ff72e541e04598ee5eb88608da18"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a18e9ff72e541e04598ee5eb88608da18">&#9670;&nbsp;</a></span>startVideoFile()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">abstract boolean com.juphoon.cloud.JCMediaDevice.startVideoFile </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">abstract</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>开启视频文件作为视频输入源</p>
<dl class="section note"><dt>Note</dt><dd>文件和摄像头作为视频输入源只能存在一种，如果当前摄像头已开启的话会关闭摄像头</dd></dl>
<dl class="section return"><dt>Returns</dt><dd>调用是否成功<ul>
<li>true：正常执行调用流程，存在以下两种场景：<ul>
<li>若调用此方法时文件视频源已开启，则不会收到回调</li>
<li>若调用此方法时文件视频源还未开启，则会收到 <a class="el" href="interfacecom_1_1juphoon_1_1cloud_1_1_j_c_media_device_callback.html#a320c02b007d3ff85f4092ff3f4f17ff9">onCameraUpdate</a> 回调</li>
</ul>
</li>
<li>false：调用失败，不会收到回调 </li>
</ul>
</dd></dl>

</div>
</div>
<a id="a842314f714ab2c20994069af48909e0e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a842314f714ab2c20994069af48909e0e">&#9670;&nbsp;</a></span>setVideoFileFrame()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">abstract void com.juphoon.cloud.JCMediaDevice.setVideoFileFrame </td>
          <td>(</td>
          <td class="paramtype">byte[]&#160;</td>
          <td class="paramname"><em>data</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">@VideoPixelFormat int&#160;</td>
          <td class="paramname"><em>format</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>width</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>height</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>angle</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>mirror</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">boolean&#160;</td>
          <td class="paramname"><em>keyFrame</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">abstract</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>逐帧采集视频画面</p>
<ul>
<li>调用此方法时要保证文件视频源已开启</li>
<li>当 format 为 <a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_device.html#a44be959153f262a5dd7d5418e4d58e22">H264</a> 格式并且是关键帧，则需要将 0x67 0x68 0x41 的数据作为一帧传入，并且关键帧要以固定间隔传入，例如5秒，否则一开始可能有几秒对端无法显示视频</li>
</ul>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">data</td><td>画面二进制数据 </td></tr>
    <tr><td class="paramname">format</td><td><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_device.html#aadb69b958966e4f5f17633ab8e6ef06e">视频像素格式</a> </td></tr>
    <tr><td class="paramname">width</td><td>宽 </td></tr>
    <tr><td class="paramname">height</td><td>高 </td></tr>
    <tr><td class="paramname">angle</td><td>90 的倍数 </td></tr>
    <tr><td class="paramname">mirror</td><td>0 不镜像，1进行左右镜像 </td></tr>
    <tr><td class="paramname">keyFrame</td><td>是否为关键帧，针对 format 为 <a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_device.html#a44be959153f262a5dd7d5418e4d58e22">H264</a><ul>
<li>true: 关键帧</li>
<li>false: 不是关键帧 </li>
</ul>
</td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ab207e92a4cfd48ad009930e579024629"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab207e92a4cfd48ad009930e579024629">&#9670;&nbsp;</a></span>stopVideoFile()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">abstract boolean com.juphoon.cloud.JCMediaDevice.stopVideoFile </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">abstract</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>关闭逐帧采集画面</p>
<dl class="section return"><dt>Returns</dt><dd>调用是否成功<ul>
<li>true：正常执行调用流程，存在以下两种场景：<ul>
<li>若调用此方法时文件视频源已关闭，不会收到回调</li>
<li>若调用此方法时文件视频源未关闭，则会收到 <a class="el" href="interfacecom_1_1juphoon_1_1cloud_1_1_j_c_media_device_callback.html#a320c02b007d3ff85f4092ff3f4f17ff9">onCameraUpdate</a> 回调</li>
</ul>
</li>
<li>false：调用失败，不会收到回调 </li>
</ul>
</dd></dl>

</div>
</div>
<a id="a9d601d607fbf27f44b53708696587d9f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9d601d607fbf27f44b53708696587d9f">&#9670;&nbsp;</a></span>getAudioRouteType()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">abstract int com.juphoon.cloud.JCMediaDevice.getAudioRouteType </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">abstract</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>音频路由类型</p>
<dl class="section return"><dt>Returns</dt><dd>音频路由类型：<ul>
<li><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_device.html#a763cb60150c77a797d1c3ce612713bdb">AUDIO_ROUTE_RECEIVER</a> : 听筒</li>
<li><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_device.html#a17ad73df4c178014ce6ba8802d1dc271">AUDIO_ROUTE_SPEAKER</a> : 扬声器</li>
<li><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_device.html#aa2e01a0a7f6bf9bdcd03c65055f2f12f">AUDIO_ROUTE_HEADSET</a> : 有线耳机</li>
<li><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_device.html#affb00118603747d8e49a8d77f0995e26">AUDIO_ROUTE_BLUETOOTH</a> : 蓝牙耳机 </li>
</ul>
</dd></dl>

</div>
</div>
<a id="a508da59a475ec6cbc9ce196ea2a32a93"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a508da59a475ec6cbc9ce196ea2a32a93">&#9670;&nbsp;</a></span>setVideoAngle()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">abstract void com.juphoon.cloud.JCMediaDevice.setVideoAngle </td>
          <td>(</td>
          <td class="paramtype">@VideoAngle int&#160;</td>
          <td class="paramname"><em>angle</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">abstract</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>设置视频窗体角度</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">angle</td><td>视频旋转角度：<ul>
<li><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_device.html#a0ae059edde68cc8873e4efd56930798e">VIDEO_ANGLE_AUTO</a> : 自动</li>
<li><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_device.html#ad12454b23f7071a68ece5fa30814c13d">VIDEO_ANGLE_0</a> : 0度</li>
<li><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_device.html#ae0c0cdaa344a821775243aa1e0e4f249">VIDEO_ANGLE_90</a> : 90度</li>
<li><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_device.html#ab9e204c04d96ead23a966372fd08cabb">VIDEO_ANGLE_180</a> : 180度</li>
<li><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_device.html#a08d72e5681e050a4c35f928e8a88e265">VIDEO_ANGLE_270</a> : 270度 </li>
</ul>
</td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a9d3d6cdbcda87c083909bdead4ca3483"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9d3d6cdbcda87c083909bdead4ca3483">&#9670;&nbsp;</a></span>getVideoAngle()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">abstract int com.juphoon.cloud.JCMediaDevice.getVideoAngle </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">abstract</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>获取视频窗体角度</p>
<dl class="section return"><dt>Returns</dt><dd>视频渲染窗体角度<ul>
<li><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_device.html#a0ae059edde68cc8873e4efd56930798e">VIDEO_ANGLE_AUTO</a> : 自动</li>
<li><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_device.html#ad12454b23f7071a68ece5fa30814c13d">VIDEO_ANGLE_0</a> : 0度</li>
<li><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_device.html#ae0c0cdaa344a821775243aa1e0e4f249">VIDEO_ANGLE_90</a> : 90度</li>
<li><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_device.html#ab9e204c04d96ead23a966372fd08cabb">VIDEO_ANGLE_180</a> : 180度</li>
<li><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_device.html#a08d72e5681e050a4c35f928e8a88e265">VIDEO_ANGLE_270</a> : 270度 </li>
</ul>
</dd></dl>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="a3626ace71157477ebd867a42ff01ff2f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3626ace71157477ebd867a42ff01ff2f">&#9670;&nbsp;</a></span>RENDER_FULL_SCREEN</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">final int com.juphoon.cloud.JCMediaDevice.RENDER_FULL_SCREEN = 0</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>铺满窗口 </p>

</div>
</div>
<a id="a046b75fd5562dfc74be8d4fa17df392e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a046b75fd5562dfc74be8d4fa17df392e">&#9670;&nbsp;</a></span>RENDER_FULL_CONTENT</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">final int com.juphoon.cloud.JCMediaDevice.RENDER_FULL_CONTENT = 1</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>全图像显示，会有黑边 </p>

</div>
</div>
<a id="a9ee7eb3ea258943a47705f88d3f6ef0a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9ee7eb3ea258943a47705f88d3f6ef0a">&#9670;&nbsp;</a></span>RENDER_FULL_AUTO</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">final int com.juphoon.cloud.JCMediaDevice.RENDER_FULL_AUTO = 2</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>自适应 </p>

</div>
</div>
<a id="ae79308ccc56296d3142f21140d56e62f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae79308ccc56296d3142f21140d56e62f">&#9670;&nbsp;</a></span>CAMERA_NONE</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">final int com.juphoon.cloud.JCMediaDevice.CAMERA_NONE = 0</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>未获取到摄像头 </p>

</div>
</div>
<a id="a2592b55463d0986aeea263144a21cb96"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2592b55463d0986aeea263144a21cb96">&#9670;&nbsp;</a></span>CAMERA_FRONT</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">final int com.juphoon.cloud.JCMediaDevice.CAMERA_FRONT = 1</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>前置摄像头 </p>

</div>
</div>
<a id="a5ea593365fa93c2ef627c1663da86431"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5ea593365fa93c2ef627c1663da86431">&#9670;&nbsp;</a></span>CAMERA_BACK</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">final int com.juphoon.cloud.JCMediaDevice.CAMERA_BACK = 2</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>后置摄像头 </p>

</div>
</div>
<a id="a91ba9bf618c33edd744d499bb0fc3eba"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a91ba9bf618c33edd744d499bb0fc3eba">&#9670;&nbsp;</a></span>CAMERA_UNKNOWN</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">final int com.juphoon.cloud.JCMediaDevice.CAMERA_UNKNOWN = 3</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>未知摄像头 </p>

</div>
</div>
<a id="aadb69b958966e4f5f17633ab8e6ef06e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aadb69b958966e4f5f17633ab8e6ef06e">&#9670;&nbsp;</a></span>I420</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">final int com.juphoon.cloud.JCMediaDevice.I420 = 1</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>I420 </p>

</div>
</div>
<a id="a280248a57c166c84c979fbea41d9be78"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a280248a57c166c84c979fbea41d9be78">&#9670;&nbsp;</a></span>IYUV</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">final int com.juphoon.cloud.JCMediaDevice.IYUV = 2</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>IYUV </p>

</div>
</div>
<a id="a497ed434de1faa4179192b947ddddceb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a497ed434de1faa4179192b947ddddceb">&#9670;&nbsp;</a></span>RGB24</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">final int com.juphoon.cloud.JCMediaDevice.RGB24 = 3</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>RGB24 </p>

</div>
</div>
<a id="a4975ff1193c5577bb9dafd2719070094"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4975ff1193c5577bb9dafd2719070094">&#9670;&nbsp;</a></span>ABGR</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">final int com.juphoon.cloud.JCMediaDevice.ABGR = 4</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>ABGR </p>

</div>
</div>
<a id="a2c6211f77d0f029cb302584dd6d8393d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2c6211f77d0f029cb302584dd6d8393d">&#9670;&nbsp;</a></span>ARGB</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">final int com.juphoon.cloud.JCMediaDevice.ARGB = 5</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>ARGB </p>

</div>
</div>
<a id="a4b2e127de7677ee961611a171bed1f97"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4b2e127de7677ee961611a171bed1f97">&#9670;&nbsp;</a></span>ARGB444</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">final int com.juphoon.cloud.JCMediaDevice.ARGB444 = 6</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>ARGB444 </p>

</div>
</div>
<a id="a49850f1ffea75e7bca801fa2a9b222b6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a49850f1ffea75e7bca801fa2a9b222b6">&#9670;&nbsp;</a></span>RGB565</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">final int com.juphoon.cloud.JCMediaDevice.RGB565 = 7</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>RGB565 </p>

</div>
</div>
<a id="a8aa6ca90bf119d2979a67fa1ab9c0bf8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8aa6ca90bf119d2979a67fa1ab9c0bf8">&#9670;&nbsp;</a></span>ARGB1555</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">final int com.juphoon.cloud.JCMediaDevice.ARGB1555 = 8</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>ARGB1555 </p>

</div>
</div>
<a id="ac3c1eb076f9ca423b3bbfbde50b8b7d4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac3c1eb076f9ca423b3bbfbde50b8b7d4">&#9670;&nbsp;</a></span>YUY2</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">final int com.juphoon.cloud.JCMediaDevice.YUY2 = 9</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>YUY2 </p>

</div>
</div>
<a id="a1a5058fea2882ad1a0f544c9f3a5663e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1a5058fea2882ad1a0f544c9f3a5663e">&#9670;&nbsp;</a></span>YV12</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">final int com.juphoon.cloud.JCMediaDevice.YV12 = 10</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>YV12 </p>

</div>
</div>
<a id="ac8b7c69cf2983dbd9924edb0ef2480fb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac8b7c69cf2983dbd9924edb0ef2480fb">&#9670;&nbsp;</a></span>UYVY</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">final int com.juphoon.cloud.JCMediaDevice.UYVY = 11</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>UYVY </p>

</div>
</div>
<a id="aafbc2925cccb145235be01a4f95c5735"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aafbc2925cccb145235be01a4f95c5735">&#9670;&nbsp;</a></span>MJPG</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">final int com.juphoon.cloud.JCMediaDevice.MJPG = 12</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>MJPG </p>

</div>
</div>
<a id="abfca02eaeed2a7292a87760d7deca7c7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abfca02eaeed2a7292a87760d7deca7c7">&#9670;&nbsp;</a></span>NV21</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">final int com.juphoon.cloud.JCMediaDevice.NV21 = 13</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>NV21 </p>

</div>
</div>
<a id="ab41851333dfc9291ee93da3d35957d45"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab41851333dfc9291ee93da3d35957d45">&#9670;&nbsp;</a></span>NV12</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">final int com.juphoon.cloud.JCMediaDevice.NV12 = 14</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>NV12 </p>

</div>
</div>
<a id="aef9e1f59d1f992d2c58c4523b93bb08a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aef9e1f59d1f992d2c58c4523b93bb08a">&#9670;&nbsp;</a></span>BGRA</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">final int com.juphoon.cloud.JCMediaDevice.BGRA = 15</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>BGRA </p>

</div>
</div>
<a id="a44be959153f262a5dd7d5418e4d58e22"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a44be959153f262a5dd7d5418e4d58e22">&#9670;&nbsp;</a></span>H264</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">final int com.juphoon.cloud.JCMediaDevice.H264 = 100</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>H264 </p>

</div>
</div>
<a id="a763cb60150c77a797d1c3ce612713bdb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a763cb60150c77a797d1c3ce612713bdb">&#9670;&nbsp;</a></span>AUDIO_ROUTE_RECEIVER</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">final int com.juphoon.cloud.JCMediaDevice.AUDIO_ROUTE_RECEIVER = 0</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>听筒 </p>

</div>
</div>
<a id="a17ad73df4c178014ce6ba8802d1dc271"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a17ad73df4c178014ce6ba8802d1dc271">&#9670;&nbsp;</a></span>AUDIO_ROUTE_SPEAKER</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">final int com.juphoon.cloud.JCMediaDevice.AUDIO_ROUTE_SPEAKER = 1</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>扬声器 </p>

</div>
</div>
<a id="aa2e01a0a7f6bf9bdcd03c65055f2f12f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa2e01a0a7f6bf9bdcd03c65055f2f12f">&#9670;&nbsp;</a></span>AUDIO_ROUTE_HEADSET</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">final int com.juphoon.cloud.JCMediaDevice.AUDIO_ROUTE_HEADSET = 2</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>有线耳机 </p>

</div>
</div>
<a id="affb00118603747d8e49a8d77f0995e26"></a>
<h2 class="memtitle"><span class="permalink"><a href="#affb00118603747d8e49a8d77f0995e26">&#9670;&nbsp;</a></span>AUDIO_ROUTE_BLUETOOTH</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">final int com.juphoon.cloud.JCMediaDevice.AUDIO_ROUTE_BLUETOOTH = 3</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>蓝牙耳机 </p>

</div>
</div>
<a id="a0ae059edde68cc8873e4efd56930798e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0ae059edde68cc8873e4efd56930798e">&#9670;&nbsp;</a></span>VIDEO_ANGLE_AUTO</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">final int com.juphoon.cloud.JCMediaDevice.VIDEO_ANGLE_AUTO = -1</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>自动 </p>

</div>
</div>
<a id="ad12454b23f7071a68ece5fa30814c13d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad12454b23f7071a68ece5fa30814c13d">&#9670;&nbsp;</a></span>VIDEO_ANGLE_0</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">final int com.juphoon.cloud.JCMediaDevice.VIDEO_ANGLE_0 = 0</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>0度 </p>

</div>
</div>
<a id="ae0c0cdaa344a821775243aa1e0e4f249"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae0c0cdaa344a821775243aa1e0e4f249">&#9670;&nbsp;</a></span>VIDEO_ANGLE_90</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">final int com.juphoon.cloud.JCMediaDevice.VIDEO_ANGLE_90 = 90</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>90度 </p>

</div>
</div>
<a id="ab9e204c04d96ead23a966372fd08cabb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab9e204c04d96ead23a966372fd08cabb">&#9670;&nbsp;</a></span>VIDEO_ANGLE_180</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">final int com.juphoon.cloud.JCMediaDevice.VIDEO_ANGLE_180 = 180</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>180度 </p>

</div>
</div>
<a id="a08d72e5681e050a4c35f928e8a88e265"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a08d72e5681e050a4c35f928e8a88e265">&#9670;&nbsp;</a></span>VIDEO_ANGLE_270</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">final int com.juphoon.cloud.JCMediaDevice.VIDEO_ANGLE_270 = 270</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>270度 </p>

</div>
</div>
<a id="a2b5e50e505acad4a9838aa7e029ac17e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2b5e50e505acad4a9838aa7e029ac17e">&#9670;&nbsp;</a></span>defaultSpeakerOn</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">boolean com.juphoon.cloud.JCMediaDevice.defaultSpeakerOn = false</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>没有插入耳机或外接蓝牙时是否默认开启扬声器，默认关闭</p><ul>
<li>true: 默认开启</li>
<li>false: 默认关闭 </li>
</ul>

</div>
</div>
<a id="a46e3b94fd5309899d9a6fa90f118b9f6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a46e3b94fd5309899d9a6fa90f118b9f6">&#9670;&nbsp;</a></span>useInternalAudioDeviceLogic</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">boolean com.juphoon.cloud.JCMediaDevice.useInternalAudioDeviceLogic = true</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>是否使用内部音频设备逻辑，默认使用</p>
<p>内部音频设备逻辑如下：<br  />
 1.打开扬声器 - 使用扬声器输出声音 2.连上蓝牙耳机 - 使用蓝牙耳机输出声音，如果扬声器开着则关闭扬声器 3.插入耳机 - 使用耳机输出声音，如果扬声器开着则关闭扬声器 4.蓝牙耳机和有线耳机以最后连上的作为输出 5.关闭扬声器 - (蓝牙耳机或有线耳机) 优于听筒</p>
<ul>
<li>true: 使用内部音频设备逻辑</li>
<li>false: 不使用内部音频设备逻辑 </li>
</ul>

</div>
</div>
<a id="affb00c48b190eab884a92738fb0aa9f1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#affb00c48b190eab884a92738fb0aa9f1">&#9670;&nbsp;</a></span>defaultCamera</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_device_1_1_j_c_media_device_camera.html">JCMediaDeviceCamera</a> com.juphoon.cloud.JCMediaDevice.defaultCamera</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>默认摄像头 </p>

</div>
</div>
<a id="a9badec23f4735dda034a48eab56d7e74"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9badec23f4735dda034a48eab56d7e74">&#9670;&nbsp;</a></span>audioParam</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_device_1_1_j_c_media_device_audio_param.html">JCMediaDeviceAudioParam</a> com.juphoon.cloud.JCMediaDevice.audioParam</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>音频参数</p>
<p>需要在调用 <a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_device.html#aeed4180a139e0edfbe0f863e2f7732ba">startAudio</a> 方法前设置，即连接通话或加入频道前设置此参数。若不设置此参数，将使用默认值。 </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>cloud/src/main/common/com/juphoon/cloud/JCMediaDevice.java</li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.16
</small></address>
</body>
</html>
